﻿using BunnyEater.Domain.Base;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BunnyEater.Domain.SystemManagement
{
    /// <summary>
    /// 权限表
    /// </summary>
    [Table("Permissions")]
    public class Permissions : BaseEntity
    {
        /// <summary>
        /// 权限父级ID
        /// </summary>
        public string? ParentId { get; set; }

        /// <summary>
        /// 权限名称
        /// </summary>
        public string? PermissionsName { get; set; }

        /// <summary>
        /// 权限路径
        /// </summary>
        public string? PermissionsPath { get; set; }

        /// <summary>
        /// 排序Id
        /// </summary>
        public int SortId { get; set; }

        /// <summary>
        /// 是否启用
        /// </summary>
        public bool State { get; set; }
    }
}
